package com.zusmart.core.proxy.support.cglib;

import java.lang.reflect.Method;

import javax.naming.OperationNotSupportedException;

import net.sf.cglib.proxy.MethodProxy;

public class CglibProxyMethodByInterface extends AbstractCglibProxyMethod{

	public CglibProxyMethodByInterface(Method targetMethod, MethodProxy targetMethodProxy) {
		super(targetMethod, targetMethodProxy);
	}

	@Override
	public Object invokeTargetMethod(Object targetInstance, Object[] targetArguments) throws Throwable {
		throw new OperationNotSupportedException("must override ProxyFactoryForInterface.execute method");
	}
	
}